package com.study.testSpringBoot.cors;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wc_phz
 * @ClassName CorsController
 * @Description: [测试跨域请求 ]
 * @date 2020/2/26 17:08
 */
@RestController
public class CorsController {

    @GetMapping("/testCors")
    public String test(){
        System.out.println("请求进来了。。。");
        return "success";
    }
}
